projects
/
babl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba59344
)
fixed an invalid memory access
author
Øyvind Kolås
<ok@src.gnome.org>
Fri, 4 Nov 2005 10:10:11 +0000
(10:10 +0000)
committer
Øyvind Kolås
<ok@src.gnome.org>
Fri, 4 Nov 2005 10:10:11 +0000
(10:10 +0000)
ChangeLog
patch
|
blob
|
history
babl/babl-format.c
patch
|
blob
|
history
diff --git
a/ChangeLog
b/ChangeLog
index 08c929c48e779fed2f5de9d08232336734eea911..4c342bf1e2c9e3c69fa214e0d966e52a8cdc2f2f 100644
(file)
--- a/
ChangeLog
+++ b/
ChangeLog
@@
-1,3
+1,8
@@
+2005-11-04 Øyvind Kolås <pippin@gimp.org>
+
+ * babl/babl-format.c: (create_name): fixed an invalid memory access in
+ comparision of component order (and now also length.)
+
2005-10-08 Øyvind Kolås <pippin@gimp.org>
* docs/index-static.html.in: Fixed the second processing example. (
diff --git
a/babl/babl-format.c
b/babl/babl-format.c
index 0dae68f9d9208318071d3d93c47d4ef782234bbf..e41aca7c1ab55f6fecc787543b145b9b0e271220 100644
(file)
--- a/
babl/babl-format.c
+++ b/
babl/babl-format.c
@@
-138,8
+138,12
@@
create_name (BablModel *model,
t++;
}
+ if (same_types &&
+ components != model->components)
+ same_types = 0;
+
i=components;
- while (i--)
+ while (
same_types &&
i--)
{
if (*c1 != *c2)
{